package com.njbw.design_pattern.struct.bridge.implementor;

import com.njbw.design_pattern.struct.bridge.abstractor.Connection;
import com.njbw.design_pattern.struct.bridge.abstractor.Driver;

public class OracleDriver implements Driver {

    @Override
    public Connection connect() {
        System.out.println("连接 Oracle 数据库");
        return new Connection("oracle");
    }
}
